/**
 * File: DataStore.java
 * Created by: mhaimel
 * Created on: Apr 16, 2010
 * CVS:  $Id: DataStore.java 1.0 Apr 16, 2010 3:53:17 PM mhaimel Exp $
 */
package uk.ac.ebi.curtain.utils.data;

import java.io.File;

import uk.ac.ebi.curtain.utils.Mapper;

/**
 * @author mhaimel
 *
 */
public interface DataStore<T> {

	MetaData getMetaData();
	
	/**
	 * <ul>
	 *  <li>One {@link File}, for Paired data in one file 
	 *  <li>two {@link File}s for Paired data in separate files
	 * </ul>
	 * @return Array of type {@link File} 
	 */
	File[] getFiles();
	
	void parse(Mapper<DataEntry<T>> mapper);
	
}
